package com.bidevalution.core.enums;

/**
 * 验证投标文件的错误信息
 * @author huyiqi
 * @date 2019/11/19
 */
public enum TbFileErrorEnum {
    /**
     * 接口返回值为空
     */
    EMPTY_RESULT(0, "接口返回值为空")
    ,FILE_NOT_EXISTS(1,"投标文件不存在")
    ,INVALID_MD5(2, "验证失败，MD5不一致");

    private int code;
    private String msg;

    TbFileErrorEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
